package cn.dhnapplets.service;





import cn.dhnapplets.entity.Picture;
import cn.dhnapplets.entity.Result;

import java.util.List;
import java.util.Map;


/**
 * @Author 邱文彬
 * @Date 2021/11/5 14:20
 * @Version 1.0
 */

public interface PictureService {


    int uploadPicture(Integer openId, String accountName, String avatar,String pictureName,String filename,String pictureTestUrl,String pictureDetails);

    List<Picture> getPicture();

    int setExhibition(String pictureName);
    int getExhibition(String pictureName);

    Map<String, Picture> getPictureAll();

    Integer getTheNumberOfPictures();

    Result setPictureState(String oldpictureName, String newpictureName);

    Integer bindingUrl(String pictureName,String pictureTestUrl);

    Integer deletePircture(String pictureName);
}
